package com.bafa.objects;

import java.io.Serializable;

public class LeagueRules implements Serializable{

	private int numPromoted;
	private int numRelegated;
	private int numPlayEach;
	
	public LeagueRules(com.bafa.objects.schema.LeagueRules leagueRules){
		this(leagueRules.getNumberOfTeamsPromoted(),leagueRules.getNumberOfTeamsRelegated(),leagueRules.getNumberOfTimesEachTeamPlays());
	}
	public LeagueRules(int numPromoted,int numRelegated, int numPlayEach){
		this.numPromoted = numPromoted;
		this.numRelegated = numRelegated;
		this.numPlayEach = numPlayEach;
	}
	public int getNumPlayEach() {
		return numPlayEach;
	}
	public int getNumPromoted() {
		return numPromoted;
	}
	public int getNumRelegated() {
		return numRelegated;
	}
	
	
}
